﻿// // --------------------------------------------------------------------------------------------------------------------
// // <copyright file="TestHelper.cs" company="Collaboris">
// //   Copyright Collaboris
// // </copyright>
// // <summary>
// //   
// // </summary>
// // --------------------------------------------------------------------------------------------------------------------

namespace DocRead.Selenium.Tests.DocRead
{

    #region

    #endregion

    /// <summary>
    /// 	TODO: Update summary.
    /// </summary>
    public static class TestHelper
    {
        #region Public Methods

        /// <summary>
        /// 	The get file name from user type.
        /// </summary>
        /// <param name = "userType">
        /// 	The user type.
        /// </param>
        /// <returns>
        /// 	The get file name from user type.
        /// </returns>
        public static string GetFileNameFromUserType(TypeOfUser userType)
        {
            string autoItFileName;
            switch (userType)
            {
                case TypeOfUser.DocReadAdmin:
                    autoItFileName = "LogOn-DemoAdmin-Password1.exe";
                    break;
                case TypeOfUser.FarmAdmin:
                    autoItFileName = "LogOn-TestFarmAdmin-Password1.exe";
                    break;
                default:
                    autoItFileName = "LogOn-DemoAdmin-Password1.exe";
                    break;
            }

            return autoItFileName;
        }

        #endregion
    }
}